package com.ternnetwork.oa.enums.messages;

public enum ReportMessages {

	FAILED_MESSAGE_CONTENT_CAN_NOT_BE_EMPTY(0,"操作失败,工作内容不能为空!"),
	FAILED_MESSAGE_START_CAN_NOT_BE_EMPTY(1,"操作失败,开始时间不能为空!"),
	FAILED_MESSAGE_EXIST_SAME_DAY_REPORT(2,"操作失败,当天日报已存在！"),
	FAILED_MESSAGE_EXIST_SAME_WEEK_REPORT(3,"操作失败,当天周报已存在！"),
	FAILED_MESSAGE_EXIST_SAME_MONTH_REPORT(4,"操作失败,当天月报已存在！"),
	FAILED_MESSAGE_WEEK_REPORT_SHOULD_BE_AT_FRIDAY(5,"操作失败, 周报应该在星期五填写！"),
	FAILED_MESSAGE_EVENT_END_TIME_CAN_NOT_LESS_THAN_CURRENT_TIME(6,"操作失败,事件结束时间不能小于当前时间！");

	private  Integer index;

	private  String name;

    private ReportMessages(int index, String name) {
		this.index = index;
		this.name = name;
	}

    public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

 

}
